package com.tjsinfo.tjsoa.addresslist.dao;

import java.util.List;

import com.tjsinfo.tjsoa.addresslist.vo.AddressListGroup;

public interface IAddressListGroupDAO {

	// property constants
	public static final String GROUP_NAME = "groupName";
	public static final String MODULE_TYPE = "moduleType";

	public abstract void save(AddressListGroup transientInstance);
	
	public abstract void update(AddressListGroup transientInstance);

	public abstract void delete(AddressListGroup persistentInstance);

	public abstract AddressListGroup findById(java.lang.String id);

	public abstract List findByExample(AddressListGroup instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByGroupName(Object groupName);

	public abstract List findByModuleType(Object moduleType);

	public abstract List findAll();

	public abstract AddressListGroup merge(AddressListGroup detachedInstance);

	public abstract void attachDirty(AddressListGroup instance);

	public abstract void attachClean(AddressListGroup instance);

}